pragma Singleton
import QtQuick 2.6

import Cpp.Utility 1.0

QtObject {

    property string qmlBase: {
        if (UiLoader.qmlUsing === "remote")
            return "../../../Remote/Qml"
        else if(UiLoader.qmlUsing === "local")
            return "../../../Local/Qml"
        else if(UiLoader.qmlUsing === "windowsfs")
            return "D:\WzhPrivate\Documents\Visual Studio 2015\Projects\TC\TC\Qml"
        else
            return "../../../Qml"
    }
    function qmlPath(path)
    {
        return qmlBase + "/" + path
    }
}
